package com.kung.qvs.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 供应商信息
 */
@Entity
public class SupplierBean {
    @Id(autoincrement = true)
    private Long _id;
    @Unique
    private String supplierName;    //供应商名称
    private String supplierCode;
    private String address; //联系地址
    private String phone;   //联系电话
    private String contact; //联系人
    //本地使用字段
    private String fcodeT;  //时间戳
    private String fcdate;       //记录生成时间
    @Transient
    private String index;
    @Generated(hash = 252947885)
    public SupplierBean(Long _id, String supplierName, String supplierCode,
            String address, String phone, String contact, String fcodeT,
            String fcdate) {
        this._id = _id;
        this.supplierName = supplierName;
        this.supplierCode = supplierCode;
        this.address = address;
        this.phone = phone;
        this.contact = contact;
        this.fcodeT = fcodeT;
        this.fcdate = fcdate;
    }
    @Generated(hash = 1501921620)
    public SupplierBean() {
    }
    public Long get_id() {
        return this._id;
    }
    public void set_id(Long _id) {
        this._id = _id;
    }
    public String getSupplierName() {
        return this.supplierName;
    }
    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }
    public String getSupplierCode() {
        return this.supplierCode;
    }
    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }
    public String getAddress() {
        return this.address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public String getPhone() {
        return this.phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getContact() {
        return this.contact;
    }
    public void setContact(String contact) {
        this.contact = contact;
    }
    public String getFcodeT() {
        return this.fcodeT;
    }
    public void setFcodeT(String fcodeT) {
        this.fcodeT = fcodeT;
    }
    public String getFcdate() {
        return this.fcdate;
    }
    public void setFcdate(String fcdate) {
        this.fcdate = fcdate;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }
}
